FROM harbor.sjgs/library/openjdk:8-jre-alpine

RUN mkdir /data
RUN mkdir /data/tmp

ADD jars/geoserverportal.jar /app.jar

EXPOSE 8761
ENTRYPOINT ["java", "-server", "-Xms1024m", "-Xmx2048m", "-jar", "/app.jar"]